package com.sinoglobal.ningxia.activity.interestingGame;

import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;

import com.sinoglobal.ningxia.R;
import com.sinoglobal.ningxia.frame.AbstractActivity;
import com.sinoglobal.ningxia.utils.FlyUtil;

/**
 * @author sbk
 * @createdate 2014-6-23 上午11:24:52
 * @Description: 趣味游戏
 */
public class InterestingGameActivity extends AbstractActivity implements
		OnClickListener {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.interesting_game_layout);
		findViewById(R.id.textView1).setOnClickListener(this);
		findViewById(R.id.textView2).setOnClickListener(this);
	}

	@Override
	public void onClick(View v) {
		switch (v.getId()) {
		case R.id.textView1:
			FlyUtil.intentForwardNetWork(this,
					AnswerRuleActivity.class);
			break;
		case R.id.textView2:
			FlyUtil.intentForwardNetWork(this,
					LuckyTurntableActivity.class);
			break;
		}
	}
}
